Freescale Semiconductor /MK70F15 /USB0 /OTGSTAT

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OTGSTAT

7 43 0 0 00 0 0 0 0 0 0 0 0 (0)AVBUSVLD 0 (0)BSESSEND 0 (0)SESS_VLD 0 (0)LINESTATESTABLE 0 (ONEMSECEN)ONEMSECEN 0 (0)ID

ID=0, SESS_VLD=0, LINESTATESTABLE=0, BSESSEND=0, AVBUSVLD=0

Description

OTG Status Register

Fields

AVBUSVLD

A VBUS Valid

0 (0): The VBUS voltage is below the A VBUS Valid threshold.

1 (1): The VBUS voltage is above the A VBUS Valid threshold.

BSESSEND

B Session END

0 (0): The VBUS voltage is above the B session End threshold.

1 (1): The VBUS voltage is below the B session End threshold.

SESS_VLD

Session valid

0 (0): The VBUS voltage is below the B session Valid threshold

1 (1): The VBUS voltage is above the B session Valid threshold.

LINESTATESTABLE

This bit indicates that the internal signals that control the LINE_STATE_CHG bit (bit 5) of the OTGISTAT register have been stable for at least 1 millisecond

0 (0): The LINE_STAT_CHG bit is not yet stable.

1 (1): The LINE_STAT_CHG bit has been debounced and is stable.

ONEMSECEN

This bit is reserved for the 1msec count, but it is not useful to software.

ID

Indicates the current state of the ID pin on the USB connector

0 (0): Indicates a Type A cable has been plugged into the USB connector

1 (1): Indicates no cable is attached or a Type B cable has been plugged into the USB connector

Links

() ()